<div class="modal-header">
  <h3 class="modal-title" id="modal-title">选择网吧</h3>
</div>
<form name="form" ng-submit="$ctrl.submit($ctrl.type, form.$valid)" novalidate>
  <div class="modal-body" id="modal-body">
    <div class="form form-horizontal" >
      <div class="table-container" >
        <div class="table-responsive">
          <table class="table table-hover table-bordered table-vertical-middle table-nowrap">
            <thead>
            <tr>
              <!--<th class="text-left">-->
                <!--<label class="label-checkbox">-->
                  <!--<input type="checkbox" name="checkbox" ng-model="page.chAll" ng-change="checkAll(page)">-->
                  <!--<i class="icon-checkbox"></i>-->
                  <!--<span class="add_name">网吧名称</span>-->
                <!--</label>-->
             <!--</th>-->
              <!--<th width="10%">网吧ID</th>-->
            </tr>
            </thead>
            <tbody>
              <tr ng-repeat="row in pagelist">
                <td class="text-left" data-id="{{row.id}}">
                  <label class="label-checkbox">
                    <input type="checkbox" name="checkbox" ng-model="row.ch='true'" ng-click="check($index, row.ch)" >
                    <i class="icon-checkbox"></i>
                    <span class="add_name">{{row.name}}</span>
                  </label>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
    </div>
  </div>
  <div class="modal-footer">
    <div class="btn-group" role="group" aria-label="">
      <button class="btn btn-default btn-success" ng-disabled="form.$invalid"><i class="fa fa-fw fa-save"></i> 保存</button>
    </div>
    <div class="btn-group" role="group" aria-label="">
      <button type="button" class="btn btn-default btn-danger" ng-click="$ctrl.cancel()"><i class="fa fa-fw fa-mail-forward"></i> 取消</button>
    </div>
  </div>
</form>
